package Access;

import Entities.Group;
import ExtEntities.VeryExtGroup;
import java.util.LinkedList;
import javax.ejb.Remote;

/**
 *
 * @author 647_2
 */
@Remote
public interface GroupsRemote {
    
    public LinkedList<Group> getAllGroups();
    public LinkedList<Group> getAllGroups(int start, int count);
    public Group getGroup(int ID);
    public VeryExtGroup getFullGroup(int ID);

    public boolean AddGroup(String name, String info);
    public boolean UpdateGroup(int ID, String name, String info);
    public boolean DeleteGroup(int ID);

    public boolean AddExecutorWithInstrumentToGroup(int ID, int ewiID);
    public boolean DeleteExecutorWithInstrumentOfGroup(int ID, int ewiID);
}
